package com.huawei.hms.framework.network.restclient.hianalytics;

import com.huawei.hms.framework.network.restclient.hwhttp.Request;
import com.huawei.hms.framework.network.restclient.hwhttp.RequestTask;
import com.huawei.hms.framework.network.restclient.hwhttp.Response;
import com.huawei.hms.framework.network.restclient.hwhttp.Submit;
import java.io.IOException;

public abstract class RCEventListener {
    public static final int ALL_LISTENER_FINISH = 3;
    public static final int NET_LIB_LISTENER_FINISH = 1;
    public static final RCEventListener NONE = new RCEventListener() {
    };
    public static final int RCEVENT_LISTENER_FINISH = 2;

    public interface Factory {
        RCEventListener create(Submit submit);
    }

    public static Factory factory(RCEventListener rCEventListener) {
        return new 2(rCEventListener);
    }

    public void callStart() {
    }

    public void acquireRequestStart() {
    }

    public void acquireRequestEnd(Request request) {
    }

    public void convertGrsStart(String str) {
    }

    public void convertGrsEnd(String str) {
    }

    public void retryInterceptorStart(Request request, RequestTask requestTask) {
    }

    public void retryInterceptorFailed(IOException iOException) {
    }

    public void retryInterceptorEnd(Response response) {
    }

    public void callEnd(Response response) {
    }

    public void callFailed(Exception exception) {
    }

    public void cancel() {
    }

    public void callFinishAtNetLib() {
    }
}
